﻿using System;
using System.Collections.Generic;
using WD.Framework.Contract;

namespace WD.Db.Contract.Model
{
    /// <summary>
    /// 基础请求对象
    /// </summary>
    public class BaseRequest : Request
    {

    }

    public class RequestIntegral:Request
    {
        public int UserId { get; set; }
        public int IntegralType { get; set; }
        /// <summary>
        /// 是否查询本月
        /// </summary>
        public bool isMonth { get; set; }
    }

    public class RequestRenovation : Request
    {
        public int RenovationType { get; set; }

        public int UserId { get; set; }
    }


    public  class RequestBasicSetting: Request
    {
        public int BasicCode { get; set; }
    }

    public class RequestReconciliation : Request
    {
        public int TransactionType { get; set; }
        /// <summary>
        /// 提现审核状态
        /// </summary>
        public int Audit { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public int OrderId { get; set; }
        public int userId { get; set; }
    }

    public class RequestOrderDes : Request
    {
        public int orderId { get; set; }
    }

    public class PictureRequest : Request
    {
        public int pictureType { get; set; }
    }

    public class AddressRequest : Request
    {
        public int userId { get; set; }
    }

    public class BankManagerRequest : Request
    {
        public int userId { get; set; }
    }

    public class ProductPackageRequest : Request
    {
        public int ProductId { get; set; }
    }

    public class AgentMoneyRequest : Request
    {
        public int userId { get; set; }
    }

    public class AgentManagerRequest : Request
    {
        public int userId { get; set; }
        public string Pro { get; set; }
        public string City { get; set; }
        public string Dis { get; set; }
        public int agentType { get; set; }
    }


    public class MoneyRecordRequest : Request
    {
        /// <summary>
        /// 交易类型
        /// </summary>
        public int TransactionType { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 交易状态
        /// </summary>
        public int TransactionStatus { get; set; }
        /// <summary>
        /// 交易流水号
        /// </summary>
        public string TransactionNo { get; set; }
    }

    public class DuiXianCardRequest : Request
    {
        /// <summary>
        /// 卡状态
        /// </summary>
        public int cardStatus { get; set; }

        /// <summary>
        /// 卡编号
        /// </summary>
        public string cardNo { get; set; }

        /// <summary>
        /// 所属商家
        /// </summary>
        public int userSellerId { get; set; }
        /// <summary>
        /// 所属用户
        /// </summary>
        public int userId { get; set; }
    }

    public class UserRequest : Request
    {
        public int ID { get; set; }
        public string LoginId { get; set; }
        public string LoginName { get; set; }
        public string Mobile { get; set; }
        public string UserId { get; set; }
        public string CardId { get; set; }
        public string Pwd { get; set; }
        public string userPhone { get; set; }
        public int userType { get; set; }
        public string pro { get; set; }
        public string city { get; set; }
        public string dis { get; set; }
        public string VipTime { get; set; }
        public int UpUserId { get; set; }
    
    }

    public class RoleRequest : Request
    {
        public string RoleName { get; set; }
    }

    public class RbacFunctionModelRequest : Request
    {
        public string ParentId { get; set; }//作废
        //级别集合
        public List<int> ModelLevelList { get; set; }

        //查询 下拉框
        public int ModelLevel { get; set; }
        public int ModelType { get; set; }
    }

    public class ProductTypeRequest : Request
    {
        public int ParentId { get; set; }
    }

    public class ProductRequest : Request
    {
        public string TypeStr { get; set; }
        public int Type { get; set; }
        public int Domain { get; set; }
        public int UserId { get; set; }
        public string SameGuid { get; set; }
        public bool OnlySale { get; set; }
        public bool? IsPublic { get; set; }
    }

    public class ArticleRequest : Request
    {
        public int Type { get; set; }
        public bool isTop5 { get; set; }
    }

    public class CartRequest : Request
    {
        public int UserId { get; set; }
        public int ShopId { get; set; }
    }

    public class ShopRequest : Request
    {
        public int State { get; set; }
    }

    public class OrderRequest : Request
    {
        public int UserId { get; set; }
        public int OrderId { get; set; }
        public int ShopId { get; set; }
        public int State { get; set; }
        public string ExpressName { get; set; }
        public DateTime? BeTime { get; set; }
        public DateTime? ETime { get; set; }
        public int Domain { get; set; }
        public string Pro { get; set; }
        public string City { get; set; }
        public string Dis { get; set; }
        public string Trade_No { get; set; }
    }

    public class ReconciliationCommissionRequest : Request
    {
        public int ID { get; set; }
        public DateTime? BeTime { get; set; }
        public DateTime? ETime { get; set; }
        public int OrderID { get; set; }
        public int UserId { get; set; }
        public bool? IsFile { get; set; }
        public int ByUserId { get; set; }
        public int RenovationId { get; set; }
        /// <summary>
        /// 是否查询系统赠送的分润
        /// </summary>
        public bool isSysFR { get; set; }
    }

    public class ExpressPriceRequest : Request
    {
        public int ShopId { get; set; }
        public int? ParentId { get; set; }
        public bool? IsOn { get; set; }
    }
}
